home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Demos
/
ByCompany
/
TipTop_Software
/
TipTop
/
Supplement
/
man
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-05-08
|
1KB
|
36 lines
#!/bin/sh
help:
@echo " "
@echo "This directory contains tcl, expect, term, ncftp, and sz/rz man pages."
@echo "Type one of the following:"
@echo " "
@echo " make ps to generate PostScript files from the man pages"
@echo " make clean to remove the PostScript files"
@echo " make install to install the man pages (into /usr/local/man)"
@echo " make print to print all the PostScript files (~140 pages)"
@echo " "
ps:
@echo ==============================
@echo Generating PostScript files...
@echo ==============================
ptroff -man -t expect/expect.1 >expect.ps
(cd tcl; ptroff -man -t tcl-all.man >../tcl.ps)
for f in term_setup term term_clients ncftp; do \
ptroff -man -t term/$$f.1 >$$f.ps; done
ptroff -man -t zmodem/sz.1 >sz.ps
ptroff -man -t zmodem/rz.1 >rz.ps
MANDIR=/usr/local/man
install:
mkdirs $(MANDIR)/man1; cp */*.1 $(MANDIR)/man1/
mkdirs $(MANDIR)/mann; cp */*.n $(MANDIR)/mann/
print: ps
@echo "Printing ... approx 140 pages..."
lpr *.ps
clean:
-/bin/rm *.ps